/*
 * Layout.h
 *
 *  Created on: 23.10.2012
 *      Author: caffeine
 */

#ifndef LAYOUT_H_
#define LAYOUT_H_
#include <irrlicht.h>
#include <IReferenceCounted.h>

class CompositeImage;
class ImageLayout:public irr::IReferenceCounted{
private:
	irr::io::path fileName;
	irr::core::position2di position;
	CompositeImage*parent;
	irr::video::IImage*image;
	bool visible;
public:
	ImageLayout(CompositeImage*parent);
	virtual ~ImageLayout();
	void setPath(irr::io::path fileName);
	irr::io::path getPath();
	irr::core::position2di getPosition();
	void setPosition(irr::core::position2di position);
	irr::video::IImage*getImage();
	bool isVisible();
	void setVisible(bool visible);
};

#endif /* LAYOUT_H_ */
